#include <iostream>
#include <string>

using namespace std;

int main(int argc, char* argv[])
{
  int i = 0;
  for(; i < argc; i++){
    cout << "argv[" << i << "]: " << argv[i] << endl;
  }

  string s = argv[1];

  if(s == "-a"){
    cout << "hello a" << endl;
  }
  else{
    cout << "hello b" << endl;
  }

  return 0;
}
